package migrate

import (
	"gspeed/bootstrap/global"
)

// 数据库迁移
func DO() {
	err := global.DB.AutoMigrate()
	if err != nil {
		global.Logger.Errorf("gorm migrate err : %v \n", err.Error())
		return
	}
}
